package zl.io;
import java.io.File;
import java.io.FileOutputStream;
import java.io.PrintStream;
import java.io.IOException;

public class IODemo07
{
	public static void main(String[] args) throws IOException
	{
		File file = new File("C:" + File.separator + "Test.txt");
		PrintStream ps = new PrintStream(new FileOutputStream(file,true));
		ps.print("print");
		ps.println("println");
		ps.print("kkk");
		ps.printf("����%s�����䣺%d���ɼ���%5.2f���Ա�%c","����",19,50.9f,'M');
	}
}